//
//  CardDetailViewController.h
//  Guazi
//
//  Created by koolearn on 11-6-3.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Card.h"
#import "ImageStoreReceiver.h"


@interface CardDetailViewController : UIViewController <UIActionSheetDelegate> {
    
    UILabel* nameLabel;
    UILabel* positionLabel;
    UILabel* companyLabel;
    UILabel* addressLabel;
    UILabel* mobileLabel;
    UILabel* telLabel;
    UILabel* faxLabel;
    UILabel* emailLabel;
    UILabel* postcodeLabel;
    UIImageView* photoImage;
	UIButton* deleteButton;
    
    Card* card;
    ImageStoreReceiver* _imageReceiver;
    
}

@property (nonatomic, retain) IBOutlet UILabel* nameLabel;
@property (nonatomic, retain) IBOutlet UILabel* positionLabel;
@property (nonatomic, retain) IBOutlet UILabel* companyLabel;
@property (nonatomic, retain) IBOutlet UILabel* addressLabel;
@property (nonatomic, retain) IBOutlet UILabel* mobileLabel;
@property (nonatomic, retain) IBOutlet UILabel* telLabel;
@property (nonatomic, retain) IBOutlet UILabel* faxLabel;
@property (nonatomic, retain) IBOutlet UILabel* emailLabel;
@property (nonatomic, retain) IBOutlet UILabel* postcodeLabel;
@property (nonatomic, retain) IBOutlet UIImageView* photoImage;
@property (nonatomic, retain) IBOutlet UIButton* deleteButton;

@property (nonatomic, retain) Card* card;

- (id) initWithCard:(Card*)aCard;
- (IBAction) delete;


@end
